package com.exam.examtest.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.exam.examtest.R

/**
 * ClassName DataListAdapter
 * Create by rhf
 * Create on 2021/3/31 11:11
 * Description 数据适配器
 */
class DataListAdapter(
    resourceId: Int,
    data: ArrayList<String>?
) : BaseQuickAdapter<String, BaseViewHolder>(resourceId, data) {


    override fun convert(helper: BaseViewHolder, item: String?) {

        helper.setText(R.id.tvText,item)
    }

}